const flagStrIsEmpty = (text: string) => {
  return text.replace(/(^\s*)|(\s*$)/g, '').length === 0;
};

export { flagStrIsEmpty };
